using System;
using Microsoft.SPOT;

namespace MicroContainer
{
   public delegate object BuildMethod(object containerInstance);

   public sealed class Mapping
   {
      public Type Type { get; private set; }
      public string Name { get; private set; }
      public BuildMethod BuildMethod { get; private set; }

      public Mapping(Type aType, string aName, BuildMethod aBuildMethod)
      {
         Type = aType;
         Name = aName;
         BuildMethod = aBuildMethod;
      }
   }
}
